package com.hd123.rumba.util;


/**
 * @author caili
 * 
 * To change this generated comment edit the template variable "typecomment":
 * Window>Preferences>Java>Templates. To enable and disable the creation of type
 * comments go to Window>Preferences>Java>Code Generation.
 */
public class InputValidation {
  private boolean isValid;
  private String originalValue;
  private String nomalizedValue;
  private Object theObject;

  public InputValidation(boolean isValid, String orginialValue,
      String normalizedValue, Object theObject) {
    super();
    this.isValid = isValid;
    this.originalValue = orginialValue;
    this.nomalizedValue = normalizedValue;
    this.theObject = theObject;
  }

  /**
   * Returns the isValid.
   * 
   * @return boolean
   */
  public boolean isValid() {
    return isValid;
  }

  /**
   * Returns the nomalizedValue.
   * 
   * @return String
   */
  public String getNomalizedValue() {
    return nomalizedValue;
  }

  /**
   * Returns the orginalValue.
   * 
   * @return String
   */
  public String getOriginalValue() {
    return originalValue;
  }

  /**
   * Returns the theObject.
   * 
   * @return Object
   */
  public Object getTheObject() {
    return theObject;
  }

  /**
   * Sets the isValid.
   * 
   * @param isValid
   *          The isValid to set
   */
  public void setIsValid(boolean isValid) {
    this.isValid = isValid;
  }

  /**
   * Sets the nomalizedValue.
   * 
   * @param nomalizedValue
   *          The nomalizedValue to set
   */
  public void setNomalizedValue(String nomalizedValue) {
    this.nomalizedValue = nomalizedValue;
  }

  /**
   * Sets the orginalValue.
   * 
   * @param orginalValue
   *          The orginalValue to set
   */
  public void setOriginalValue(String originalValue) {
    this.originalValue = originalValue;
  }

  /**
   * Sets the theObject.
   * 
   * @param theObject
   *          The theObject to set
   */
  public void setTheObject(Object theObject) {
    this.theObject = theObject;
  }
  
  

}
